package com.dhb.pattern.prototype;

import java.io.Serializable;

/**
 * 功能描述：
 * 创建人：citymoon
 * 创建日期：2019/5/7
 */
public class JinGuBang implements Serializable {
    public float h = 160;
    public float d = 10;

    public void big(){
        this.h *= 2;
        this.d *= 2;
    }

    public void samll(){
        this.h /= 2;
        this.d /= 2;
    }
}
